var obj1 = {
    name: 'feng',
    age: 18,
    study: function () {
        console.log('log')
    }
}
obj1["sex"]="女"
for(va in obj1){
    // console.log(va)
    console.log(obj1[va])
}
console.log(obj1.study())
var obj ={}
obj.name="123"
obj.age = 18
obj.study = function(){
    console.log(123);
    
}
console.log(JSON.stringify(obj1))
console.log(obj1);
var c = JSON.stringify(obj1);
console.log(c )
var d = JSON.parse(c)
console.log(JSON.stringify(d));

